package com.gitee.wsl.mathematics.matrix.mat

import com.gitee.wsl.ext.base.ifValue

class VectorMatrix(data: List<Double>,isColumn:Boolean=false):FunMatrix(
    isColumn.ifValue(1,data.size),
    isColumn.ifValue(data.size,1),
    valueFun = {r,c->
        data[isColumn.ifValue(c,r)]
    }) {
}